home *** CD-ROM | disk | FTP | other *** search
/ Network Support Library / RoseWare - Network Support Library.iso / 3rdparty / 2322pt.arc / ADAPTEC.TXT
Text File  |  1989-03-09  |  4KB  |  95 lines

  1. The following patch is for those people using an Adaptec 2322A or 2322B and a drive of less than 1024 cylinders and are receiving the error "Abend Invalid drive table for AT ROM BIOS".  May be helpful for anyone else not able to access their drive for the full size.
  2.  
  3. Step 1
  4.  
  5. Make Sure the Adaptec BIOS is enabled (factory default).  Use your PC AT or compatible setup program to select drive TYPE 1.  This is important.  If not set to TYPE 1 then the Adaptec BIOS will initialize drive improperly.
  6.  
  7. Step 2
  8.  
  9. When formatting the drive for the first time, the Adaptec disk preparation program must be used.  This is mandatory for the autoconfiguration to work properly.  The Adaptec disk preparation is started by the DOS debug program, then typing the command:
  10.  
  11.             G=C800:5<CR>
  12.  
  13. Choose from the main menu option 1.  This option starts the primary format and will run the autoconfiguration.  When completed the option to <ESC> to DOS prompt will appear choose this and exit to DOS.
  14.  
  15. Step 3
  16.  
  17. Executing the patch on Novell 2.1 software or greater.
  18.  
  19. Novell 2.1 is delivered with a standard driver program called ATDISK.OBJ.  That file must be patched before the generation of the utilities and the Operating System.  This is done with the standard DOS debug program.
  20.  
  21. 1)Make a back-up of the original diskette.  Work from the back-up diskette.
  22. 2)Load the debugger and the ATDISK.OBJ file by entering the command
  23.  
  24.         Debug ATDISK.OBJ
  25.  
  26. 3)Search for the hexadecimal code B9 64 00 by entering the command:
  27.  
  28.     S CS:0 FFFF B9 64 00<CR>
  29.  
  30. Note: This does not exist with 2.12 or greater Netware nor is it needed with Adaptec 2322B cards.  It has to do with the controller response time.
  31.  
  32. 4)The debugger should find one occurence and tell you the address of the first byte of the sequence with a display having the following format:
  33.  
  34.     XXXX:YYYY        where YYYY is the address of the first byte of the sequence
  35.  
  36. In the sequence of code B9 64 00, the value 64 must be replaced by the value 00 and the value 00 must be replaced by value 02.
  37.  
  38. This is done by entering the command:
  39.  
  40.     E CS:YYYY<CR>
  41.  
  42. The debugger displays the value B9; press space bar once the debugger displays the value 64; type in 00, then press space bar.  The debugger will now display the value 00; type in 02 and press the return key.  To make sure that the patch was properly done, you may display the new code sequence by entering the command:
  43.  
  44.         D CS:YYYY<CR>
  45.  
  46. You should now observe  the sequence B9 00 02.
  47.  
  48. 4)Search for hexadecimal sequence 3D 00 C8 72 by entering the command:
  49.  
  50.         S CS:0 FFFF 3D 00 C8 72<CR>
  51.  
  52. The debugger should find TWO occurences of that sequence and tell you the address of the first byte of each sequence with a display having the following format:
  53.  
  54.         AAAA:BBBB        where BBBB and YYYY are the address         XXXX:YYYY        of each occurence
  55.  
  56. NOTE: With 2.15 there will be 4 such locations.  Apply the patch to *ONLY* the first two occurences.  This sequence patch will allow the Adaptec BIOS to set the drive head and cylinder count.
  57.  
  58. In the sequence of 3D 00 C8 72, the value C8 must be replaced by the value 00.
  59.  
  60. This is done by entering the command:
  61.  
  62.     E CS:BBBB<CR>
  63.  
  64. The debugger displays the value 3D; press the space bar twice and the debugger displays the value C8; type in 00 and press the return key.  The second occurence must also be modified by entering the command:
  65.  
  66.     E CS:YYYY<CR>
  67.  
  68. To make sure that the patch was properly done, you may do a display by entering the command:
  69.  
  70.     D CS:BBBB<CR>
  71.  
  72. You should now observe the sequence 3D 00 00 72.
  73.  
  74. You can follow the above procedure to check the YYYY occurence by typing the command:
  75.  
  76.     D CS:YYYY<CR>
  77.  
  78. You should see the sequence 3D 00 00 72 here as well.
  79.  
  80. 5)The patched file is now saved on the diskette by entering the command:
  81.  
  82.     W<CR>
  83.  
  84. Step 4:
  85.  
  86. The standard Novell 2.1 software generation procedure can now be followed, i.e., the link of the utilities (compsurf.exe, disked.exe, vrepair.exe, etc...) and the Operating System.
  87.  
  88. Step 5:
  89.  
  90. Once the link and generation is finished, the newly generated compsurf.exe can be run.  Compsurf is a program supplied by Novell to assess the disk data reliability.  It has the ability to extensively verify the hard disk.
  91.  
  92. Step 6:
  93.  
  94. Once compsurf.exe is done (message "disk passed"), the Novell 2.1 software can be installed following the standard installation procedure described by Novell.
  95.